package com.desaweb.pe.form;

import java.util.Map;

public abstract class AbstractForm<T> {
	
	public T getObjeto(){ return entidad; }
	protected Map<String,String> errors;
	public boolean isValidForm(){
		return errors.isEmpty();
	}
	public abstract void parseForm();
	public abstract void populateForm(T entidad);
	protected T entidad;
}
